@extends('back.index')
@section('link')
    <link href="{{asset('css/back/read/news.css')}}" rel="stylesheet">
@endsection
@section('mian')
    <div style="font-size:14px;padding:20px;" class="modal-content">
        <h2 class="sub-header power_mian">用户管理列表</h2>
        <div class="container ">
            <div class="row">
                <div class="col-md-8">
                    <form class="form-horizontal" action="" method="post" enctype="multipart/form-data">
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2 control-label">用户昵称</label>
                            <div class="col-sm-10">
                                <input type="text" name="nickname" value="{{$jg->nickname}}" class="form-control" id="inputPassword3" placeholder="用户昵称">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2 control-label">邮箱</label>
                            <div class="col-sm-10">
                                <input type="email" name="email" value="{{$jg->email}}" class="form-control" id="inputPassword3" placeholder="邮箱">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2 control-label">手机号码</label>
                            <div class="col-sm-10">
                                <input type="text" name="tel" value="{{$jg->tel}}" class="form-control" id="inputPassword3" placeholder="手机号码">
                            </div>
                            {{csrf_field()}}
                        </div>
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2 control-label">性别</label>
                            <div class="col-sm-10">
                                <div class="sex">
                                    <label>男:<input type="radio" name="sex" value="1" id="inputPassword3" <?= $jg->sex==1?'checked':'' ?> ></label>&nbsp;&nbsp;
                                    <label>女:<input type="radio" name="sex" value="2" id="inputPassword3" <?= $jg->sex==2?'checked':'' ?> ></label>&nbsp;&nbsp;
                                    <label>保密:<input type="radio" name="sex" value="3" id="inputPassword3" <?= $jg->sex==3?'checked':'' ?> ></label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <input type="submit" class="btn btn-default" value="更新用户">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
@endsection